<form [formGroup]="form" nz-form nzLayout="vertical">
  <nz-form-item>
    <nz-form-label nzFor="appTitle" nzRequired>{{ '::AppTitle' | abpLocalization }}</nz-form-label>
    <nz-form-control>
      <input formControlName="appTitle" id="appTitle" nz-input placeholder="Username" required />
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzFor="signResultCreateStyle">{{ '::SignResultCreateStyle' | abpLocalization }}</nz-form-label>
    <nz-form-control>
      <nz-select formControlName="signResultCreateStyle" id="signResultCreateStyle">
        @for (opt of signResultCreateStyleOptions; track $index) {
          <nz-option [nzLabel]="'::Enum:SignResultCreateStyle:' + opt.key | abpLocalization"
                     [nzValue]="opt.value"></nz-option>
        }
      </nz-select>
    </nz-form-control>
  </nz-form-item>

  <div>
    <button (click)="save()" [disabled]="form.invalid" [nzLoading]="saving" nz-button nzType="primary">保存</button>
  </div>
</form>
